<?php echo $this->element('user_menu');?>      
<?php echo $this->element('banner', array('category' => 'job-view'));?>
<div id="body_container" class="group">
	    <div id="left_container">
<?php echo $this->element('advertisement',array('category' => 'job-view'));?>
<?php echo $this->element('left_bar');?>

 <div id="right_container">
        <div class="block">
            <div class="head">
            	<span class="heading">
            		<?php echo $job['JobDetail']['jobno'];?>
            	</span> 
            	<span class="more">
            		Last Date &nbsp;<?php echo $job['JobDetail']['end_date'];?>
            	</span>
            </div>
            <div class="container group">
                    <h2>Company :<?php echo $job['JobProvider']['name'];?></h2>
                        <p class="description">
                        	<b>Address: </b>
                        	<?php echo $job['JobDetail']['address'];?><br />
                        	<b>Salary:</b>
                        	<?php echo $job['JobDetail']['address'];?><br />
                        	<b>Qualification: </b>
                        	<?php echo $job['JobDetail']['qualification'];?><br />
                        	<b>Leisure: </b>
                        	<?php echo $job['JobDetail']['leisure'];?><br />
                        	<b>Hours: </b>
                        	<?php echo $job['JobDetail']['hours'];?><br />
                        	<b>Periods: </b>
                        	<?php echo $job['JobDetail']['period'];?><br />
                        	<b>Published Date: </b>
                        	<?php echo $job['JobDetail']['published_date'];?><br />
                        	<b>Required Number: </b>
                        	<?php echo $job['JobDetail']['number'];?><br />
                        	<b>Last Date: </b>
                        	<?php echo $job['JobDetail']['end_date'];?><br />
                        </p>
                        <?php echo $this->Html->link('Apply Now', array('controller' => 'job_details', 'action' => 'view', $job['JobDetail']['id']), array('class' => 'myButton', 'id' => 'terms', 'job' => $job['JobDetail']['id']));?>
            </div>
       </div>  <!--block--> 
</div><!--right container-->

<script type = "text/javascript">
	$(function(){
		$('#terms').live('click', function(event) {
			event.preventDefault();
			var job = $(this).attr('job');
			path = 'pages/conditions';
			$('#right_container').html('Loading.......');
			$('#right_container').load(__HOST_NAME__ + '/' + path ,{value:job} ,function(result) {
				
			});
		});
	});
</script>